//
//  TopicTableViewCell.h
//  NewChat
//
//  Created by lanou3g on 16/2/27.
//  Copyright © 2016年 蓝鸥. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TopicModel.h"

//制订协议
@protocol userHeaderDelegate <NSObject>

/**
 *  声明方法：点击button时跳转到下个页面
 */
-(void)noticeTopicViewPushNextView;


@end


@interface TopicTableViewCell : UITableViewCell

//设置代理属性
@property(nonatomic,weak)id<userHeaderDelegate>delegate;

@property (nonatomic, strong)UIButton *userPictureBtn;//用户头像
@property (nonatomic, strong)UILabel *nickNameLbl;//昵称
@property (nonatomic, strong)UILabel *timeLbl;//发布时间
@property (nonatomic, strong)UILabel *topicLbl;//话题标题
@property (nonatomic, strong)UIButton *messageBtn;//回复消息
@property (nonatomic,strong)UIButton *voiceBtn;//语音消息

@property (nonatomic,assign)NSString *delegateString;

-(void)configureCellWithModel:(TopicModel*)model;


@end
